-- GENERATED SPELL FOR [Foe Reaper 4000] --


function spell0_573(pUnit, Event) --@Trample,Self--
pUnit:FullCastSpellOnTarget(5568,pUnit)
pUnit:RegisterEvent('Sorts_573', 596, 1)
end

function Sorts_573(pUnit, Event)
local choix_sorts_573 = math.random(0, 0)
if choix_sorts_573 == 0 then
pUnit:RegisterEvent('spell0_573', 1, 1)
end
end

function mob573_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_573', math.random(1500, 3000), 1)
end

function mob573_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob573_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob573_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(573, 1, 'mob573_Action')
RegisterUnitEvent(573, 2, 'mob573_Leave')
RegisterUnitEvent(573, 3, 'mob573_Kill')
RegisterUnitEvent(573, 4, 'mob573_Die')
